Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove the test dependency on consul #27

Merged
merged 1 commit into from
Jan 3, 2019
Merged

remove the test dependency on consul #27

merged 1 commit into from
Jan 3, 2019

Conversation

rboyer
Copy link
Member

@rboyer rboyer commented Jan 3, 2019

There is a stray test-only dependency on github.com/hashicorp/consul/lib in this repository used only to seed the random number generator. When this is a dependency of another project using go modules this creates an unfortunate explosion of additional indirect dependencies for no added benefit.

Inlining this results in 10 fewer indirect dependencies showing up elsewhere. Also it's a little weird when consul -> memberlist -> go-sockaddr -> consul

@rboyer
Copy link
Member Author

rboyer commented Jan 3, 2019

Like #26 I don't have merge privileges, so I'll need a merge buddy for this.

@schmichael schmichael merged commit 555d50d into hashicorp:master Jan 3, 2019
@sean-
Copy link
Contributor

sean- commented Jan 3, 2019

@rboyer fyi, I factored this out into https://github.com/sean-/seed .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants